package com.winning.pmph.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;
import java.util.List;


@Table(name = "RELEASED_MEDICAL_CALCULATOR")
@Data
public class ReleasedMedicalCalculator extends BaseEntity {
    /**
     * 删除，删除的知识放在回收站里
     */
    public final static int DELETED_YES = 1;
    /**
     * 未删除
     */
    public final static int DELETED_NO = 0;
    @TableId
    private String id;
    /**
     * 医学公式名称
     */

    private String formulaName;
    /**
     * 版本号
     */

    private int version;

    /**
     * 驳回原因
     */

    private String rejectReason;
    /**
     * 描述
     */
    @TableField("`describe`")
    private String describe;
    /**
     * 0 计算型  1  评分型，2 描述型
     */

    private int formulaType;
    /**
     * 逻辑删除 0：未删除 1：已删除
     */
    private int deleted;

    @TableField(exist = false)
    private List<ReleasedMedicalCalculatorField> medicalCalculatorFieldList;
    @TableField(exist = false)
    private int kind;
    @TableField(exist = false)
    private String property;
    @TableField(exist = false)
    private Integer syncStatus;
    @TableField(exist = false)
    private String editor;
    @TableField(exist = false)
    private List<String> auditorList;
    @TableField(exist = false)
    private int isRevised;
    @TableField(exist = false)
    private String operatedTime;
}
